package com.yp.infrastructure.mdb.properties;

import org.springframework.boot.context.properties.NestedConfigurationProperty;

/**
 * .
 */
public class DataSourceProperties {

    /**
     * datasource name
     */
    private String name;

    /**
     * mapper location
     */
    private String mapper;

    /**
     * 数据库连接
     */
    @NestedConfigurationProperty()
    private DatabaseProperties item;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMapper() {
        return mapper;
    }

    public void setMapper(String mapper) {
        this.mapper = mapper;
    }


    public DatabaseProperties getItem() {
        return item;
    }

    public void setItem(DatabaseProperties item) {
        this.item = item;
    }
}